<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

    protected function _initDoctype() 
    {
        $this->bootstrap('view');
        $view = $this->getResource('view');
        $view->doctype('HTML5');
        
        // Dojo View Helper aktivieren
        $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
    }
    
    protected function _initPlugins()
    {
        $loader = Zend_Loader_Autoloader::getInstance();
        $loader->registerNamespace('Fifa_');
        
        $this->bootstrap('frontController');
        $fc = $this->getResource('frontController');
        
        $plugins = array(
            'Fifa_Controller_Plugin_NavigationSEtup',
        );
        
        foreach ($plugins as $value) {
            $fc->registerPlugin(new $value);
        }       
        
    }

}

